<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>动画</title>
    <style>
        .div1{
            width: 100px;
            height: 100px;
            background-color: yellow;
            animation: animation1 1s 2 forwards;
        }
    </style>
</head>
<body>
    <p>动画不需要触发</p>
    <div class="div1"></div>
</body>
</html>